import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

//引入模块
import app from './modules/app'
import user from './modules/user'
import permission from './modules/permission'

// 引入getters文件
import getters from './getters'

export default new Vuex.Store({
  getters,
  modules: {
    app,
    user,
    permission,
  }
})
